/*======================= messages.h ===============*/
#ifndef _H_MESSAGES
#define _H_MESSAGES

/* Constants */
#define	MAX_FILE_SIZE	 		1000
#define	SERVER_LIST_SIZE 		100
#define	USERS_LIST_SIZE	 		100
#define COUNTRIES_LIST_SIZE 	100
#define SERVERS_COORD_LIST_SIZE	100


/*	Estados	*/
#define WP 0
#define WRR 1


/*	Eventos	*/
#define Packet 0
#define RR 1
#define Timer 2


/* input files */
const char*	USERS_FILE 		= "Users.dat";
const char* SERVERS_FILE 	= "mDBs.dat";
const char* COUTRIES_FILE 	= "Countries.dat";
const char* COORDS_FILE		= "Coords.dat";


/* Comands output messages */
const char*	INSERT_COMMAND 		= "Insira o comando!";
const char* INSERT_USER_PASS 	= "Deve introduzir password e username!";


/* Error messages */
const char* ERROR_USER_PASS 		= "ERRO: Username ou password inválidos.";
const char* ERROR_INVALID_COMMAND 	= "ERRO:Comando inválido.";
const char* ERROR_PUT_FORMAT 		= "ERRO:Comando Put mal formado";
const char* ERROR_SERVRS_FILE		= "ERRO:Erro no ficheiro mDBs.dat";
const char* ERROR_SYNCH			= "ERRO: Dificuldades no synch";


/* Comands */
const char*	PUT 	= "Put";
const char* GET 	= "Get";
const char* SYNCH 	= "Synch";
const char* QUIT 	= "Quit";

/* PUT Messages */
const char* ERROR_PUT_INSUCESS	= "Insucesso na realização de Put";
const char* PUT_SUCESS	= "Put realizado com sucesso";




#endif
